package com.gxa.saas.admin.mapper;

import com.gxa.saas.core.entity.vo.BannerVO;
import com.gxa.saas.core.entity.vo.CommodityVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author cowboy
 * @Date 2022/7/27 10:52
 * @Version 1.0
 */
@Mapper
public interface BannerMapper {
    public BannerVO QueryBanner();

    BannerVO QueryBannerByCondition(String name);

    void InsertBanner(BannerVO bannerVO);

    void OperationBanner(BannerVO bannerVO);

    void DeleteBanner(Integer id);

    List<CommodityVO> QueryProduct();

    List<CommodityVO> QueryProductByName(String name);

    void DeleteProduct(Integer id);

    List<String> QueryPic(Integer id);
}
